//
//  User.h
//  DeliciousFood1
//
//  Created by brother on 15/10/21.
//  Copyright © 2015年 com.hxm. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface User : NSObject

@property (nonatomic,assign) int ID;
@property (nonatomic,copy) NSString *account;
@property (nonatomic,copy) NSString *password;
@property (nonatomic,copy) NSString *username;
@property (nonatomic,copy) NSString *head;
@property (nonatomic,assign) NSInteger *sex;
@property (nonatomic,strong) NSDate *time;


//字典转模型
+(instancetype)userWithDic:(NSDictionary *)dic;
-(instancetype)initWithDic:(NSDictionary *)dic;

@end
